package com.ericsson.smart.factory;

import com.ericsson.smart.dao.ReportDAO;

public class UtilityReportDAOFactory {

	public ReportDAO getReportDAO(String reportName) {
		if (reportName.equalsIgnoreCase("ConsumptionReport"))
			return new ReportDAO();
		if (reportName.equalsIgnoreCase("AlarmReport"))
			return new ReportDAO();
		return null;
	}
}
